home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_1 / lstfl103.zip / LISTFILE.DOC next >
Text File  |  1992-06-29  |  3KB  |  76 lines

  1. Listfile - An improved replacement for SLDIR
  2.  
  3. Listfile (C) copyright 1991 by Zak Smith All Rights Reserved.
  4. ----------------------------------------------------------------------------
  5. Credit - SLDIR was written by Frank LaRosa of Searchlight Software.
  6. ----------------------------------------------------------------------------
  7. Version History 
  8.  
  9.  1.03 - fixed a justify error, also should work with more files
  10.  
  11.  1.02  - Added NDLC and ONE functions.
  12.  
  13.  1.01  - Fixed a date stamp bug
  14.  
  15.  1.00  - Initial Release
  16.  
  17. ----------------------------------------------------------------------------
  18. Listfile works with the same command line switches as SLDIR, with
  19. one exception.  Here is a summary...
  20.  
  21. Listfile [access] [/dirname] [-dirname] [=string] [!NOT] [NDLC] [ONE]
  22.  
  23.   access     - lowest access to scan dirs
  24.  
  25.   /dirname   - scan only these dirnames
  26.  
  27.   -dirname   - do not scan these dirs
  28.  
  29.   =string    - search for this string in filename,and all descriptions
  30.  
  31.   !NOT       - do not provide any header information in file
  32.                  (useful for scanning for a string)
  33.  
  34.   NDLC       - No DownLoad Counters.  Strips the times downloaded from the 
  35.                listing.
  36.  
  37.   ONE        - Puts the whole description, including extended, on the same 
  38.                line as the file name.  This extends the text file produced
  39.                beyond 80 columns.  
  40.  
  41. ----------------------------------------------------------------------------
  42. LISTFILE.TXT - this file is optional, if it exists in your text file
  43.                directory (per CONFIG.EXE), it will be included before
  44.                the directory listing.
  45. ---------------------------------------------------------------------------
  46.  If you are having troubles, here is the logic that decides whether
  47.  to list the particular dir or not..
  48.  
  49.   If (
  50.      access of dir is higher than specified, and
  51.      it's not in the exclude list, and
  52.      there is no include list or it's in the include list
  53.      )  - OR -
  54.      it's in the include list
  55.  
  56.  This seemed the most logical way to do things..
  57. ----------------------------------------------------------------------------
  58. Examples..
  59. ----------------------------------------------------------------------------
  60. d:\slbbs> listfile /games /fishing
  61.   ...scans games and fishing
  62.  
  63. d:\slbbs> listfile 30
  64.   ...scans all that require 30 or higher access
  65.  
  66. d:\slbbs> listfile 5 -games -graphics
  67.   ...scans all that require access of 5 or higher, but not games or graphics
  68.  
  69. d:\slbbs> listfile 50 =searchlight !not
  70.   ...scans all that require access of 50 or higher,
  71.       and include "Searchlight" somewhere in the file description,
  72.       without the directory headers.
  73. ----------------------------------------------------------------------------
  74. Zak Smith - Sirius Cybernetics BBS - 414-966-3552 - 1:145/736
  75. ----------------------------------------------------------------------------
  76.